/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.nxlv2.nomad.accessdb.dao;

import com.nxlv2.nomad.businessobjects.Article;
import com.nxlv2.nomad.businessobjects.DetailDemande;
import com.nxlv2.nomad.businessobjects.Prix;
import java.util.List;

/**
 *
 * @author Nastasia
 */
public interface IDetailDemandeDao {
    
    void saveDetailDemande(DetailDemande detailDemande) throws DAOException;
    void deleteDetailDemande(int id) throws DAOException;
    void updateDetailDemande(DetailDemande detailDemande) throws DAOException;
    List<DetailDemande> findDetailDemandeById(int id) throws DAOException;
    
    Article getArticle(DetailDemande detailDemande) throws DAOException;
    void lierArticleADetailDemande(Article article, DetailDemande detailDemande) throws DAOException;

    Prix getPrix(DetailDemande detailDemande) throws DAOException;
    void lierPrixADetailDemande(Prix prix, DetailDemande detailDemande) throws DAOException;
}
